PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


Using Theme-Compliant Colors and Patterns

As mentioned in A Checklist for Creating a Theme-Compliant Program , one of the first steps in becoming theme-compliant is to remove color table resources for windows, controls, menus, dialog boxes, and alert boxes from your program. The system no longer fully supports the 'wctb' , 'ictb' , 'mctb' , 'dctb' , 'actb' , and 'cctb' resources, which typically have been used to specify custom color information for interface elements. In some cases, using these resources can inhibit the ability of your user interface to integrate with the current theme. For theme-compliant dialog boxes and alert boxes, instead use the following Mac OS 8 Dialog Manager resources: the dialog font table resource ( 'dftb' ), the extended dialog resource ( 'dlgx' ), and the extended alert resource ( 'alrx' ).

Other steps you can take to ensure that your program's use of color is theme-compliant are described in the following sections:


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)